﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Intrinsics.X86;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 销售出库
    /// </summary>
    /// 

    public class MaterialDTO
    {
        public int total { get; set; }
        public bool success { get; set; }
        public List<Material> rows { get; set; }

    }


    public class Material
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// RowId
        /// </summary>
        public string RowId { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public string date { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string productNo { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string productName { get; set; }
        /// <summary>
        /// 产品全称
        /// </summary>
        public string fullName { get; set; }
        /// <summary>
        /// 1C命名
        /// </summary>
        public string Name1C { get; set; }

        /// <summary>
        /// 物料类型
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 物料组织
        /// </summary>
        public string org { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public string tax { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public string price { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public string producer { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        public string discount { get; set; }
        /// <summary>
        /// 国家
        /// </summary>
        public string country { get; set; }
        

    }
}
